<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<nav class="navbar navbar-default" th:fragment="html">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand">校园快递管理系统</a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                        <div>管理员：<span th:text="${frontName}"></span><span class="caret"></span></div>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/admin/info">个人中心</a></li>
                        <li class="divider"></li>
                        <li><a href="/logout">退出登录</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>

</html>